Skip to main content

mergBLEDidDiscoverPeripheral

Type

message

Summary

Sent when a peripheral is discovered

Syntax

mergBLEDidDiscoverPeripheral <pUUID>, <pName>, <pRSSI>, <pTx>, <pServiceUUIDs>, <pManufacturerData>

Description

Sent when a peripheral is discovered

Parameters

NameTypeDescription

pUUID

The peripheral UUID

pName

The name of the peripheral

pRSSI

A number, in decibels, that indicates the RSSI of the peripheral while it is currently connected. You can use a connected peripheral’s RSSI property to determine the peripheral’s proximity.

pTx

A number containing the transmit power of a peripheral. This key and value are available if the broadcaster (peripheral) provides its Tx power level in its advertising packet. Using the RSSI value and the Tx power level, it is possible to calculate path loss.

pServiceUUIDs

A list of service UUIDs the peripheral is advertising

pManufacturerData

The binary manufacturer data of the peripheral

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?